package com.starblink.android.guang.report

import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.starblink.basic.log.report.IErrorReporter

/**
 *  Create by yuanl at 2023/5/23
 **/
class GuangFBCrashReporter: IErrorReporter {
    override fun report(msg: String) {
        FirebaseCrashlytics.getInstance().log(msg)
    }

    override fun report(throwable: Throwable) {
        FirebaseCrashlytics.getInstance().recordException(throwable)
    }
}